const mysql=require('mysql2/promise'),
log=console.log,
{con}=require('./common.js');

async function report(reason,describe,image,userId){
    const sql1 = `insert into user.report values('0','${userId}','${reason}','${describe}','${image}','0')`
    await con.execute(sql1);
}

module.exports={report}